home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -screenplay- / shareware / freeciv / data / default / terrain.ruleset < prev    next >
Text File  |  2000-02-29  |  17KB  |  563 lines

  1.  
  2. ; Modifying this file:
  3. ; You should not modify this file except to make bugfixes or
  4. ; for other "maintenance".  If you want to make custom changes,
  5. ; you should create a new datadir subdirectory and copy this file
  6. ; into that directory, and then modify that copy.  Then use the
  7. ; command "set terrain <mysubdir>" in the server to have freeciv
  8. ; use your new customized file.
  9.  
  10. ; Note that the freeciv AI may not cope well with anything more
  11. ; than minor changes.
  12.  
  13. [datafile]
  14. description="Default tile_type data for Freeciv"
  15. options="1.9"
  16.  
  17. [options]
  18. river_style=2        ; 1 means Civ1-style, 2 means Civ2-style
  19. may_road=1           ; 0 means no, 1 means yes
  20. may_irrigate=1       ; 0 means no, 1 means yes
  21. may_mine=1           ; 0 means no, 1 means yes
  22. may_transform=1      ; 0 means no, 1 means yes
  23.  
  24. [parameters]
  25.  
  26. ; special movement costs for rivers:
  27. ;   0 - normal movement cost for rivers (matches Civ1)
  28. ;   1 - 1/3 movement cost, but only when moving exactly along rivers,
  29. ;       diagonal moves incur full terrain movement costs (matches Civ2)
  30. ;   2 - 1/3 movement cost directly along river, 2/3 for diagonals (this
  31. ;       is effectively the same as '1', as if you had done the two moves,
  32. ;       except for differences relating to ZOC, etc.)
  33. ;   3 - 1/3 movement cost for any river to river move (classic Freeciv)
  34. river_move_mode=1
  35.  
  36. ; percent added to defense if square is Civ2-style river
  37. river_defense_bonus=50
  38.  
  39. ; amount added to trade production if square is Civ2-style river
  40. river_trade_incr=1
  41.  
  42. ; help text for Civ2-style rivers
  43. river_help_text=_("\
  44. Any terrain type (except Ocean) may have a River on it.  A River adds 1\
  45.  trade to the resources produced by that tile.  It also increases a tile's\
  46.  defense factor by 50%.  Finally, land units may move along a River (but\
  47.  not diagonally); movement along a River costs only 1/3 of a movement point.\
  48. \n\n\
  49. Roads and railroads can only be built on River squares if your\
  50.  civilization has learned Bridge Building technology.\
  51. ")
  52.  
  53. ; percent added to defense if square has fortress
  54. fortress_defense_bonus=100
  55.  
  56. ; percent added to trade production if road and city has superhighways
  57. road_superhighway_trade_bonus=50
  58.  
  59. ; percent added to food production if square has railroad
  60. rail_food_bonus=0
  61.  
  62. ; percent added to shield production if square has railroad
  63. rail_shield_bonus=50
  64.  
  65. ; percent added to trade production if square has railroad
  66. rail_trade_bonus=0
  67.  
  68. ; percent added to food production if farmland and city has supermarket
  69. farmland_supermarket_food_bonus=50
  70.  
  71. ; percent subtracted from food production if square is polluted
  72. pollution_food_penalty=50
  73.  
  74. ; percent subtracted from shield production if square is polluted
  75. pollution_shield_penalty=50
  76.  
  77. ; percent subtracted from trade production if square is polluted
  78. pollution_trade_penalty=50
  79.  
  80. ; Below: The individual terrain types, one per section.
  81. ; For now, the number of such sections must be kept the same (=12).
  82. ; Also, terrains should be in the same order as defined in common/map.h,
  83. ; and have similar roles/effects, as some things are still hardwired.
  84. ; The actual tag used (the * in [terrain_*]) does not matter, except 
  85. ; it must be unique for each terrain, and it may be used in debug 
  86. ; output when reading this file.
  87. ;
  88. ; Notes:
  89. ;
  90. ; terrain_name         = name as seen by user; if "unused", it is not used
  91. ; graphic              = preferred base graphics tag in tilespec; must have
  92. ;                        tags with extensions _n0s0e0e0 etc.
  93. ; graphic_alt          = alternate graphics tag if preferred is not found;
  94. ;                        should be a standard tag if preferred is not;
  95. ;             otherwise may be "-"
  96. ; movement_cost        = typically 1 to 3
  97. ; defense_bonus        = 10 times actual; typically 10 to 30 (1.0 to 3.0)
  98. ; food                 = normal food production
  99. ; shield               = normal shield production
  100. ; trade                = normal trade production
  101. ; special_1_name       = name of special; if "none", special is not used
  102. ; graphic_special_1    = full tilespec tag
  103. ; graphic_special_1a   = alternate
  104. ; food_special_1       = special (1) food production
  105. ; shield_special_1     = special (1) shield production
  106. ; trade_special_1      = special (1) trade production
  107. ; special_2_name       = name of special; if "none", special is not used
  108. ; graphic_special_2    = full tilespec tag
  109. ; graphic_special_2a   = alternate
  110. ; food_special_2       = special (2) food production
  111. ; shield_special_2     = special (2) shield production
  112. ; trade_special_2      = special (2) trade production
  113. ; road_trade_incr      = increment to trade if square has road
  114. ; road_time            = time to build road; if 0, cannot build road
  115. ; irrigation_result    = result of irrigation; one of:
  116. ;                        "no"  -- cannot irrigate
  117. ;                        "yes" -- can irrigate
  118. ;                        terrain name -- irrigation changes to that terrain
  119. ; irrigation_food_incr = increment to food if square is irrigated
  120. ; irrigation_time      = time to irrigate; if 0, cannot irrigate
  121. ; mining_result        = result of mining; one of:
  122. ;                        "no"  -- cannot mine
  123. ;                        "yes" -- can mine
  124. ;                        terrain name -- mining changes to that terrain
  125. ; mining_shield_incr   = increment to shields if square is mined
  126. ; mining_time          = time to mine; if 0, cannot mine
  127. ; transform_result     = result of transformation; one of:
  128. ;                        "no"  -- cannot transform
  129. ;                        terrain name -- transformation changes to that terrain
  130. ; transform_time       = time to transform; if 0, cannot transform
  131. ; helptext           = optional help text string; should escape all raw 
  132. ;                 newlines so that xgettext parsing works
  133.  
  134. [terrain_glacier]
  135. terrain_name         = _("Glacier")
  136. graphic              = "t.arctic"
  137. graphic_alt         = "-"
  138. movement_cost        = 2
  139. defense_bonus        = 10
  140. food                 = 0
  141. shield               = 0
  142. trade                = 0
  143. special_1_name       = _("Ivory")
  144. graphic_special_1    = "ts.arctic_ivory"
  145. graphic_special_1a   = "-"
  146. food_special_1       = 1
  147. shield_special_1     = 1
  148. trade_special_1      = 4
  149. special_2_name       = _("Oil")
  150. graphic_special_2    = "ts.oil"
  151. graphic_special_2a   = "-"
  152. food_special_2       = 0
  153. shield_special_2     = 4
  154. trade_special_2      = 0
  155. road_trade_incr      = 0
  156. road_time            = 4
  157. irrigation_result    = "no"
  158. irrigation_food_incr = 0
  159. irrigation_time      = 0
  160. mining_result        = "yes"
  161. mining_shield_incr   = 1
  162. mining_time          = 10
  163. transform_result     = "Tundra"
  164. transform_time       = 24
  165. helptext         = _("\
  166. Glaciers are found only in the most northerly or southerly\
  167.  reaches of the world.  They are very cold, and hence difficult to\
  168.  work with.\
  169. ")
  170.  
  171. [terrain_desert]
  172. terrain_name         = _("Desert")
  173. graphic              = "t.desert"
  174. graphic_alt         = "-"
  175. movement_cost        = 1
  176. defense_bonus        = 10
  177. food                 = 0
  178. shield               = 1
  179. trade                = 0
  180. special_1_name       = _("Oasis")
  181. graphic_special_1    = "ts.oasis"
  182. graphic_special_1a   = "-"
  183. food_special_1       = 3
  184. shield_special_1     = 1
  185. trade_special_1      = 0
  186. special_2_name       = _("Oil")
  187. graphic_special_2    = "ts.oil"
  188. graphic_special_2a   = "-"
  189. food_special_2       = 0
  190. shield_special_2     = 4
  191. trade_special_2      = 0
  192. road_trade_incr      = 1
  193. road_time            = 2
  194. irrigation_result    = "yes"
  195. irrigation_food_incr = 1
  196. irrigation_time      = 5
  197. mining_result        = "yes"
  198. mining_shield_incr   = 1
  199. mining_time          = 5
  200. transform_result     = "Plains"
  201. transform_time       = 24
  202. helptext         = _("\
  203. Deserts are regions of extreme dryness, making agriculture and\
  204.  trade very difficult.\
  205. ")
  206.  
  207. [terrain_forest]
  208. terrain_name         = _("Forest")
  209. graphic              = "t.forest"
  210. graphic_alt         = "-"
  211. movement_cost        = 2
  212. defense_bonus        = 15
  213. food                 = 1
  214. shield               = 2
  215. trade                = 0
  216. special_1_name       = _("Pheasant")
  217. graphic_special_1    = "ts.pheasant"
  218. graphic_special_1a   = "-"
  219. food_special_1       = 3
  220. shield_special_1     = 2
  221. trade_special_1      = 0
  222. special_2_name       = _("Silk")
  223. graphic_special_2    = "ts.silk"
  224. graphic_special_2a   = "-"
  225. food_special_2       = 1
  226. shield_special_2     = 2
  227. trade_special_2      = 3
  228. road_trade_incr      = 0
  229. road_time            = 4
  230. irrigation_result    = "Plains"
  231. irrigation_food_incr = 0
  232. irrigation_time      = 5
  233. mining_result        = "no"
  234. mining_shield_incr   = 0
  235. mining_time          = 0
  236. transform_result     = "Grassland"
  237. transform_time       = 24
  238. helptext         = _("\
  239. Forests are densely wooded, making agriculture somewhat\
  240.  problematic.\
  241. ")
  242.  
  243. [terrain_grassland]
  244. terrain_name         = _("Grassland")
  245. graphic              = "t.grassland"
  246. graphic_alt         = "-"
  247. movement_cost        = 1
  248. defense_bonus        = 10
  249. food                 = 2
  250. shield               = 0
  251. trade                = 0
  252. special_1_name       = _("Resources")
  253. graphic_special_1    = "ts.grassland_resources"
  254. graphic_special_1a   = "-"
  255. food_special_1       = 2
  256. shield_special_1     = 1
  257. trade_special_1      = 0
  258. special_2_name       = _("Resources")
  259. graphic_special_2    = "ts.grassland_resources"
  260. graphic_special_2a   = "-"
  261. food_special_2       = 2
  262. shield_special_2     = 1
  263. trade_special_2      = 0
  264. road_trade_incr      = 1
  265. road_time            = 2
  266. irrigation_result    = "yes"
  267. irrigation_food_incr = 1
  268. irrigation_time      = 5
  269. mining_result        = "Forest"
  270. mining_shield_incr   = 0
  271. mining_time          = 10
  272. transform_result     = "Hills"
  273. transform_time       = 24
  274. helptext         = _("\
  275. Grasslands afford exceptional agricultural opportunities.\
  276. ")
  277.  
  278. [terrain_hills]
  279. terrain_name         = _("Hills")
  280. graphic              = "t.hills"
  281. graphic_alt         = "-"
  282. movement_cost        = 2
  283. defense_bonus        = 20
  284. food                 = 1
  285. shield               = 0
  286. trade                = 0
  287. special_1_name       = _("Coal")
  288. graphic_special_1    = "ts.coal"
  289. graphic_special_1a   = "-"
  290. food_special_1       = 1
  291. shield_special_1     = 2
  292. trade_special_1      = 0
  293. special_2_name       = _("Wine")
  294. graphic_special_2    = "ts.wine"
  295. graphic_special_2a   = "-"
  296. food_special_2       = 1
  297. shield_special_2     = 0
  298. trade_special_2      = 4
  299. road_trade_incr      = 0
  300. road_time            = 4
  301. irrigation_result    = "yes"
  302. irrigation_food_incr = 1
  303. irrigation_time      = 10
  304. mining_result        = "yes"
  305. mining_shield_incr   = 3
  306. mining_time          = 10
  307. transform_result     = "Plains"
  308. transform_time       = 24
  309. helptext         = _("\
  310. In addition to being amenable to agriculture, Hills are frequently\
  311.  rich in resources.\
  312. ")
  313.  
  314. [terrain_jungle]
  315. terrain_name         = _("Jungle")
  316. graphic              = "t.jungle"
  317. graphic_alt         = "-"
  318. movement_cost        = 2
  319. defense_bonus        = 15
  320. food                 = 1
  321. shield               = 0
  322. trade                = 0
  323. special_1_name       = _("Gems")
  324. graphic_special_1    = "ts.gems"
  325. graphic_special_1a   = "-"
  326. food_special_1       = 1
  327. shield_special_1     = 0
  328. trade_special_1      = 4
  329. special_2_name       = _("Fruit")
  330. graphic_special_2    = "ts.fruit"
  331. graphic_special_2a   = "-"
  332. food_special_2       = 4
  333. shield_special_2     = 0
  334. trade_special_2      = 1
  335. road_trade_incr      = 0
  336. road_time            = 4
  337. irrigation_result    = "Grassland"
  338. irrigation_food_incr = 0
  339. irrigation_time      = 15
  340. mining_result        = "Forest"
  341. mining_shield_incr   = 0
  342. mining_time          = 15
  343. transform_result     = "Plains"
  344. transform_time       = 24
  345. helptext         = _("\
  346. Jungles are densely overgrown, making agriculture somewhat\
  347.  problematic.\
  348. ")
  349.  
  350. [terrain_mountains]
  351. terrain_name         = _("Mountains")
  352. graphic              = "t.mountains"
  353. graphic_alt         = "-"
  354. movement_cost        = 3
  355. defense_bonus        = 30
  356. food                 = 0
  357. shield               = 1
  358. trade                = 0
  359. special_1_name       = _("Gold")
  360. graphic_special_1    = "ts.gold"
  361. graphic_special_1a   = "-"
  362. food_special_1       = 0
  363. shield_special_1     = 1
  364. trade_special_1      = 6
  365. special_2_name       = _("Iron")
  366. graphic_special_2    = "ts.iron"
  367. graphic_special_2a   = "-"
  368. food_special_2       = 0
  369. shield_special_2     = 4
  370. trade_special_2      = 0
  371. road_trade_incr      = 0
  372. road_time            = 6
  373. irrigation_result    = "no"
  374. irrigation_food_incr = 0
  375. irrigation_time      = 0
  376. mining_result        = "yes"
  377. mining_shield_incr   = 1
  378. mining_time          = 10
  379. transform_result     = "Hills"
  380. transform_time       = 24
  381. helptext         = _("\
  382. Mountains are regions of extreme altitude, making agriculture and\
  383.  trade very difficult.\
  384. ")
  385.  
  386. [terrain_ocean]
  387. terrain_name         = _("Ocean")
  388. graphic              = "t.ocean"
  389. graphic_alt         = "-"
  390. movement_cost        = 1
  391. defense_bonus        = 10
  392. food                 = 1
  393. shield               = 0
  394. trade                = 2
  395. special_1_name       = _("Fish")
  396. graphic_special_1    = "ts.fish"
  397. graphic_special_1a   = "-"
  398. food_special_1       = 3
  399. shield_special_1     = 0
  400. trade_special_1      = 2
  401. special_2_name       = _("Whales")
  402. graphic_special_2    = "ts.whales"
  403. graphic_special_2a   = "-"
  404. food_special_2       = 2
  405. shield_special_2     = 2
  406. trade_special_2      = 3
  407. road_trade_incr      = 0
  408. road_time            = 0
  409. irrigation_result    = "no"
  410. irrigation_food_incr = 0
  411. irrigation_time      = 0
  412. mining_result        = "no"
  413. mining_shield_incr   = 0
  414. mining_time          = 0
  415. transform_result     = "no"
  416. transform_time       = 0
  417. helptext         = _("\
  418. Oceans cover much of the world, and only sea units (Triremes and\
  419.  other boats) can travel on them.\
  420. \n\n\
  421. Ocean squares can never be polluted.\
  422. ")
  423.  
  424. [terrain_plains]
  425. terrain_name         = _("Plains")
  426. graphic              = "t.plains"
  427. graphic_alt         = "-"
  428. movement_cost        = 1
  429. defense_bonus        = 10
  430. food                 = 1
  431. shield               = 1
  432. trade                = 0
  433. special_1_name       = _("Buffalo")
  434. graphic_special_1    = "ts.buffalo"
  435. graphic_special_1a   = "-"
  436. food_special_1       = 1
  437. shield_special_1     = 3
  438. trade_special_1      = 0
  439. special_2_name       = _("Wheat")
  440. graphic_special_2    = "ts.wheat"
  441. graphic_special_2a   = "-"
  442. food_special_2       = 3
  443. shield_special_2     = 1
  444. trade_special_2      = 0
  445. road_trade_incr      = 1
  446. road_time            = 2
  447. irrigation_result    = "yes"
  448. irrigation_food_incr = 1
  449. irrigation_time      = 5
  450. mining_result        = "Forest"
  451. mining_shield_incr   = 0
  452. mining_time          = 15
  453. transform_result     = "Grassland"
  454. transform_time       = 24
  455. helptext         = _("\
  456. Plains are very broad, sparse regions, which makes trade slightly\
  457.  inconvenient.\
  458. ")
  459.  
  460. [terrain_unused_0]
  461. terrain_name         = "unused"
  462. graphic              = "-"
  463. graphic_alt         = "-"
  464. movement_cost        = 0
  465. defense_bonus        = 00
  466. food                 = 0
  467. shield               = 0
  468. trade                = 0
  469. special_1_name       = "none"
  470. graphic_special_1    = "-"
  471. graphic_special_1a   = "-"
  472. food_special_1       = 0
  473. shield_special_1     = 0
  474. trade_special_1      = 0
  475. special_2_name       = "none"
  476. graphic_special_2    = "-"
  477. graphic_special_2a   = "-"
  478. food_special_2       = 0
  479. shield_special_2     = 0
  480. trade_special_2      = 0
  481. road_trade_incr      = 0
  482. road_time            = 0
  483. irrigation_result    = "no"
  484. irrigation_food_incr = 0
  485. irrigation_time      = 0
  486. mining_result        = "no"
  487. mining_shield_incr   = 0
  488. mining_time          = 0
  489. transform_result     = "no"
  490. transform_time       = 0
  491.  
  492. [terrain_swamp]
  493. terrain_name         = _("Swamp")
  494. graphic              = "t.swamp"
  495. graphic_alt         = "-"
  496. movement_cost        = 2
  497. defense_bonus        = 15
  498. food                 = 1
  499. shield               = 0
  500. trade                = 0
  501. special_1_name       = _("Peat")
  502. graphic_special_1    = "ts.peat"
  503. graphic_special_1a   = "-"
  504. food_special_1       = 1
  505. shield_special_1     = 4
  506. trade_special_1      = 0
  507. special_2_name       = _("Spice")
  508. graphic_special_2    = "ts.spice"
  509. graphic_special_2a   = "-"
  510. food_special_2       = 3
  511. shield_special_2     = 0
  512. trade_special_2      = 4
  513. road_trade_incr      = 0
  514. road_time            = 4
  515. irrigation_result    = "Grassland"
  516. irrigation_food_incr = 0
  517. irrigation_time      = 15
  518. mining_result        = "Forest"
  519. mining_shield_incr   = 0
  520. mining_time          = 15
  521. transform_result     = "Plains"
  522. transform_time       = 24
  523. helptext         = _("\
  524. Swamps suffer from an over-abundance of water, making agriculture\
  525.  somewhat problematic.\
  526. ")
  527.  
  528. [terrain_tundra]
  529. terrain_name         = _("Tundra")
  530. graphic              = "t.tundra"
  531. graphic_alt         = "-"
  532. movement_cost        = 1
  533. defense_bonus        = 10
  534. food                 = 1
  535. shield               = 0
  536. trade                = 0
  537. special_1_name       = _("?animals:Game")
  538. graphic_special_1    = "ts.tundra_game"
  539. graphic_special_1a   = "-"
  540. food_special_1       = 3
  541. shield_special_1     = 1
  542. trade_special_1      = 0
  543. special_2_name       = _("Furs")
  544. graphic_special_2    = "ts.furs"
  545. graphic_special_2a   = "-"
  546. food_special_2       = 2
  547. shield_special_2     = 0
  548. trade_special_2      = 3
  549. road_trade_incr      = 0
  550. road_time            = 2
  551. irrigation_result    = "yes"
  552. irrigation_food_incr = 1
  553. irrigation_time      = 5
  554. mining_result        = "no"
  555. mining_shield_incr   = 0
  556. mining_time          = 0
  557. transform_result     = "Desert"
  558. transform_time       = 24
  559. helptext         = _("\
  560. Tundra are broad, cold regions, fit for some agriculture and little\
  561.  else.\
  562. ")
  563.